﻿<div class="bg-main clear">
<div class="componentheading"> <?php echo $this->cat->name	 ?> </div>

        <table cellspacing="0" cellpadding="0" class="blog">
       <tbody>
	   <?php foreach($this->news as $k=>$news){
			if($k>1)break;
	   ?>
	   <tr>
            <td valign="top">                                        
			<div>
				<div class="article-title-indent">
				<div class="article-title-wrapper">
					<table class="contentpaneopen">
							<tbody>
							<tr>
								<td width="100%" class="contentheading"><a href="index.php?c=news&t=details&id=<?php echo $news->id ?>"><?php echo $news->title ?></a>
									<div class="article-sub-text clear">
 									<span class="createdate"><?php echo sscls_HTML::date($news->datecreated) ?> </span>
									</div>
								</td>
							</tr>
							</tbody>
					</table>
					</div>
					</div>
					<div class="article-text-indent">
						<div class="clear">
							<a href="#"><img  style="float: left;" alt="" src="admin/images/stories/<?php echo $news->images ?>"></a>
							<p style="padding-left: 140px;"><?php  echo $news->description ?></p>	
						</div>
					</div>
				<span class="article_separator">&nbsp;</span>                      
			</div>
            </td>
        </tr>
		
		<?php } ?>
		
		
        <tr>
                <td valign="top"><div class="blog_more">
					<div>
						<strong>Đọc thêm</strong>
					</div>
					<ul>
					<?php foreach($this->news as $k=>$news){
						if($k>1){
					?>
						<li>
							<a href="index.php?c=news&t=details&id=<?php echo $news->id ?>" class="blogsection">
							<?php echo $news->title ?></a>
						</li>
					<?php }} ?>
					</ul>
					</div>
				</td>
        </tr>
		
                                    <tr>
                <td align="center" valign="top" class="pagin-top">
					<?php $this->displaypagelink($this->pagination); ?>
					<br/>
                </td>
            </tr>
                    </tbody></table>
    
</div>